package spring01;



import spring01.init.MyInizationBean;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

public class A extends MyInizationBean {

	private B b ;

	public void setB(B b) {
		this.b = b;
	}

	public B getB() {
		return b;
	}

	public void sayHello(){
		System.out.println("hello spring resources world A");
	}

	@PostConstruct
	public void init(){
		System.out.println("------init method-------");
	}
}
